package com.hxy.order.service;


import com.hxy.basic.query.util.PageList;
import com.hxy.basic.service.IBaseService;
import com.hxy.order.domain.ProductOrder;
import com.hxy.order.query.ProductOrderQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IProductOrderService extends IBaseService<ProductOrder> {
    String submit(Map<String, Object> params, HttpServletRequest request);

    /**
     * 修改服务订单订单状态
     * 修改支付单状态
     * @param oid
     */
    void cancelOrder(Long oid);

    PageList<ProductOrder> queryAdminOrder(ProductOrderQuery productOrderQuery, HttpServletRequest request);

    PageList<ProductOrder> queryUserOrder(ProductOrderQuery productOrderQuery, HttpServletRequest request);
}
